#include<stdio.h>
#include<stdlib.h>

int Print(int sum)
{
	int num[100000];
	int i;

	if(sum==0) printf("ling");
	//倒序分解数字
	for(i=0;sum!=0;i++)
	{
		num[i] = sum%10;
		sum = sum/10;
	}
	
	for(;i>0;i--)
	{
		switch(num[i-1])
		{
			case 0:
				printf("ling");
				break;
			case 1:
				printf("yi");
				break;
			case 2:
				printf("er");
				break;
			case 3:
				printf("san");
				break;
			case 4:
				printf("si");
				break;
			case 5:
				printf("wu");
				break;
			case 6:
				printf("liu");
				break;
			case 7:
				printf("qi");
				break;
			case 8:
				printf("ba");
				break;
			case 9:
				printf("jiu");
				break;
		}
		if(i==1)  break; 
		else  printf(" ");
	}
}

int main()
{
	int sum=0;
	char ch;
    while((ch=getchar())!='\n')
	{
		sum += (ch - 48);
	}
	Print(sum);
	return 0;
}
